<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>noheader</title>
	<script type="text/javascript" src="../uni_webview.js"></script>
	
	<style>
		#common-header{
			line-height: 45px;
		}
	</style>
  </head>
  <body>
	  
	
	  <div id="common-header">
	  		self-header
	  </div>
	  <div>
		  body
	  </div>
	  
	 
	  
	  
	  <script>
	  
			document.getElementById("common-header").addEventListener("click", function() {
			   uni.postMessage({
			   	data: {
			   		action: 'closeWebView'
			   	}
			   });
			}, true)

		  
	  </script>
    
  </body>
</html>
